#!/bin/bash
cd /opt/

wget http://jaist.dl.sourceforge.net/project/rkhunter/rkhunter/1.4.6/rkhunter-1.4.6.tar.gz
tar -zxf rkhunter-1.4.6.tar.gz 
cd rkhunter-1.4.6
mkdir -p /usr/local/rkhunter
./installer.sh --layout custom /usr/local/rkhunter --install
chmod +x /usr/local/bin/rkhunter
clear
/usr/local/rkhunter/bin/rkhunter --versioncheck
sleep 1
/usr/local/rkhunter/bin/rkhunter --propupd
clear
/usr/local/rkhunter/bin/rkhunter -c --rwo
